package com.ruoyi.system.domain.sz;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 时间轴对象 sz_time_line
 * 
 * @author ruoyi
 * @date 2024-03-16
 */
public class SzTimeLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 时间轴ID */
    private Long timeId;
    /** 时间轴类型（0=真实数据，1=快照）*/
    private String timeType;

    /** 时间轴 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间轴", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submissionTime;

    /** 时间轴对应的文件【以逗号（，）分割】 */
    @Excel(name = "时间轴对应的文件【以逗号", readConverterExp = "，=")
    private String fileIds;

    /** 时间轴对应小组和密码办id【以逗号（，）分割】 */
    @Excel(name = "时间轴对应小组和密码办id【以逗号", readConverterExp = "，=")
    private String groupIds;

    /**领导分组和密法办*/
    private List<SzLeaderGroup> szLeaderGroupList;
    /** 时间轴-附件信息 */
    private List<SzTimeFile> szTimeFileList;

    public List<SzLeaderGroup> getSzLeaderGroupList() {
        return szLeaderGroupList;
    }

    public void setSzLeaderGroupList(List<SzLeaderGroup> szLeaderGroupList) {
        this.szLeaderGroupList = szLeaderGroupList;
    }

    public List<SzTimeFile> getSzTimeFileList() {
        return szTimeFileList;
    }

    public void setSzTimeFileList(List<SzTimeFile> szTimeFileList) {
        this.szTimeFileList = szTimeFileList;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }

    public void setTimeId(Long timeId)
    {
        this.timeId = timeId;
    }

    public Long getTimeId() 
    {
        return timeId;
    }
    public void setSubmissionTime(Date submissionTime) 
    {
        this.submissionTime = submissionTime;
    }

    public Date getSubmissionTime() 
    {
        return submissionTime;
    }
    public void setFileIds(String fileIds) 
    {
        this.fileIds = fileIds;
    }

    public String getFileIds() 
    {
        return fileIds;
    }
    public void setGroupIds(String groupIds) 
    {
        this.groupIds = groupIds;
    }

    public String getGroupIds() 
    {
        return groupIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("timeId", getTimeId())
            .append("submissionTime", getSubmissionTime())
            .append("fileIds", getFileIds())
            .append("groupIds", getGroupIds())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
